<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>

<decorator:usePage id="myPage" />
<% request.setAttribute("object", myPage.getProperty("meta.object")); %>

	 
<html>

	<head>
		<title>Aoide :: <decorator:title /></title>
		<meta http-equiv="Content-type" content="text/html" />
		<meta http-equiv="Content-style-type" content="text/css" />
		<style type="text/css">
			@import "<c:url value="/style/css/tigris.css"/>"; 
			@import "<c:url value="/style/css/inst.css"/>";
		</style>
		<decorator:head />
	</head>
	
	<body marginwidth="0" marginheight="0" class="composite">
	
		<div id="banner">
		
			<table border="0" cellspacing="0" cellpadding="8" width="100%">
				<tr>
					<td>
						<h1>Aoide</h1>
					</td>
				</tr>
			</table>
		</div>
  
		<div class="tabs" id="toptabs">
			<table cellpadding="4" cellspacing="0" border="0">
				<c:if test="${object == 'artist'}">
					<tr>
						<th><a href="<c:url value="/admin/artistList.action?start=1"/>">Artist</a></th>
						<td><a href="<c:url value="/admin/discList.action?start=1"/>">Disc</a></td>
						<td><a href="<c:url value="/admin/linkList.action"/>">Link</a></td>
						<td><a href="<c:url value="/admin/statistics.action"/>">Statistics</a></td>
					</tr>
				</c:if>
				<c:if test="${object == 'disc'}">
					<tr>
						<td><a href="<c:url value="/admin/artistList.action?start=1"/>">Artist</a></td>
						<th><a href="<c:url value="/admin/discList.action?start=1"/>">Disc</a></th>
						<td><a href="<c:url value="/admin/linkList.action"/>">Link</a></td>
						<td><a href="<c:url value="/admin/statistics.action"/>">Statistics</a></td>
					</tr>
				</c:if>
				<c:if test="${object == 'link'}">
					<tr>
						<td><a href="<c:url value="/admin/artistList.action?start=1"/>">Artist</a></td>
						<td><a href="<c:url value="/admin/discList.action?start=1"/>">Disc</a></td>
						<th><a href="<c:url value="/admin/linkList.action"/>">Link</a></th>
						<td><a href="<c:url value="/admin/statistics.action"/>">Statistics</a></td>
					</tr>
				</c:if>
				<c:if test="${object == 'statistics'}">
					<tr>
						<td><a href="<c:url value="/admin/artistList.action?start=1"/>">Artist</a></td>
						<td><a href="<c:url value="/admin/discList.action?start=1"/>">Disc</a></td>
						<td><a href="<c:url value="/admin/linkList.action"/>">Link</a></td>
						<th><a href="<c:url value="/admin/statistics.action"/>">Statistics</a></th>
					</tr>
				</c:if>
			</table>
		</div>
		
		<div id="breadcrumbs" align="right">
			&nbsp;
		</div>
	
		<table border="0" cellspacing="0" cellpadding="4" width="100%" id="main">
			<tr valign="top">
				<td id="leftcol" width="20%">

					<div id="navcolumn">
						<c:if test="${object == 'artist'}">
							<div id="projecttools" class="toolgroup">
								<div class="label">
									<strong>Methods</strong>
								</div>
								<div class="body">
									<div><a href="<c:url value="/admin/artistAdd.action"/>">Add</a></div>
									<div><a href="<c:url value="/admin/artistList.action?start=1"/>">List</a></div>
								</div>
							</div>						
						</c:if>
						<c:if test="${object == 'disc'}">	
							<div id="projecttools" class="toolgroup">													
								<div class="label">
									<strong>Methods</strong>
								</div>
								<div class="body">
									<div><a href="<c:url value="/admin/discAdd.action"/>">Add</a></div>
									<div><a href="<c:url value="/admin/discList.action?start=1"/>">List</a></div>
									<div><a href="<c:url value="/admin/discLatest.action"/>">Latest</a></div>
								</div>
							</div>						
						</c:if>
						<c:if test="${object == 'link'}">	
							<div id="projecttools" class="toolgroup">													
								<div class="label">
									<strong>Methods</strong>
								</div>
								<div class="body">
									<div><a href="<c:url value="/admin/linkAdd.action"/>">Add</a></div>
									<div><a href="<c:url value="/admin/linkList.action"/>">List</a></div>
								</div>
							</div>						
						</c:if>						
						<c:if test="${object == 'statistics'}">	
							<div id="projecttools" class="toolgroup">													
								<div class="label">
									<strong>Methods</strong>
								</div>
								<div class="body">
									<div><a href="<c:url value="/admin/statistics.action"/>">Totals</a></div>
								</div>
							</div>						
						</c:if>
					</div>

					<div class="strut">&nbsp;</div>

				</td>			
				<td>

					<div id="bodycol">	
	
						<decorator:body />

					</div>

				</td>
			</tr>
		</table>	
	</body>
</html>
